/**
 * @author [jiadangwei]
 * @email [jiadangwei@kanzhun.com]
 * @create date 2018-08-29 10:24:15
 * @modify date 2018-08-29 10:24:15
 * @desc [description]
*/

const DZonline = process.env.NODE_ENV == "production";
var apiHost = "";
var ROOT = "/html/hema/"

if (DZonline == false) {
    apiHost = "api";
    ROOT = "/"
    //apiHost = "http://172.16.24.89:8380";
}

const API = {
    root: ROOT,
    share: {
        "competition": apiHost + "/competition/detail/list.json", //赛事
        "organization": apiHost + "/organization/detail/list.json", //机构
        "feed": apiHost + "/feed/detail/list.json", //普通信息流接口
        
        
    }
}

export default API;
